/**
 * 
 */
package com.google.code.sip.ucenter.dao.mongo;

import com.google.code.sip.core.dao.mongo.GenericMongoDao;
import com.google.code.sip.ucenter.dao.UserProfileDao;
import com.google.code.sip.ucenter.model.User;
import com.google.code.sip.ucenter.model.UserProfile;

/**
 * @author Liuye
 * 
 */
public class UserProfileDaoImpl extends GenericMongoDao<UserProfile, String>
		implements UserProfileDao {
	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.google.code.sip.ucenter.dao.mongo.UserProfileDao#getByUser(com.google
	 * .code.ucenter.model.User)
	 */
	public UserProfile getByUser(User user) {
		return getByProperty("user", user);
	}
}
